package com.beizhen.demo.entity;

    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.time.LocalDate;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.*;
    import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
* 
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
@JsonInclude(value = JsonInclude.Include.NON_NULL)
    @TableName("stu_organization")
    @ApiModel(value="StuOrganization对象", description="")
    public class StuOrganization implements Serializable {

private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "机构编码")
            @TableId(value = "o_id", type = IdType.INPUT)
    private Integer oId;

            @ApiModelProperty(value = "机构名称")
    private String oName;

            @ApiModelProperty(value = "机构电话")
    private String oPhone;

            @ApiModelProperty(value = "机构地址（区划表外键）")
    private Integer oRegionid;

            @ApiModelProperty(value = "机构详细地址")
    private String oDetailAddress;

            @ApiModelProperty(value = "机构邮政编码")
        @TableField("o_postalCode")
    private String oPostalcode;

            @ApiModelProperty(value = "创建时间")
    private LocalDate oCreationtime;

            @ApiModelProperty(value = "是否禁用(0.禁用  1.启用)")
    private Integer oState;

            @ApiModelProperty(value = "机构类型（字典表外键（学校，教育局，教育厅））")
    private Integer oType;


}
